import Vue from "vue";
import VueRouter from "vue-router";
import VueComponentRouter from './modules/VueCompoent'
Vue.use(VueRouter);
console.log(...VueComponentRouter)
const routes = [
  {
    path: "/",
    name: "Home",
    component: () =>
      import("@/views/Home")
  },
  ...VueComponentRouter //组件扩展
];

const router = new VueRouter({
  routes
});

export default router;
